Bing Translator Web Service
Method/V2/Soap.svc/Detect
Bing Translator Web Service > All Operations Resource Group : /V2/Soap.svc/Detect (Method)
Description
Use the Detect Method to identify the language of a selected piece of text.
Request (LanguageService_Detect_InputMessage)

The request body is of type Detect.

Request Body Parameters

NameDescriptionData Type
 xml:string
 xml:string
text Element appId Element Sequence Detect Element

Overview

Sequence
appId optional xs:string
A string containing "Bearer" + " " + access token.
text optional xs:string
A string representing the text to split into sentences. The size of the text must not exceed 10000 characters.
Response (LanguageService_Detect_OutputMessage)

The response body is of type DetectResponse.

A string containing a two-character Language code for the given text.

Response Body Parameters

NameDescriptionData Type
 xml:string
DetectResult Element Sequence DetectResponse Element

Overview

Sequence
DetectResult optional xs:string
See Also
All Operations Resource GroupBing Translator Web Service